package com.api.constant;

/**
 * Created by PC on 2017/7/10.
 */
public class CommonConstant {
    public enum MerchantType {
        Recommend("推荐", -1),
        NearBy("附近", 0),
        Food("人气美食", 1),
        Arder("娱乐休闲", 2),
        Sports("运动健康", 3),
        Baby("幼儿亲子", 4),
        Teach("教育培训", 5);
        String name;
        Integer value;

        MerchantType(String name, Integer value) {
            this.name = name;
            this.value = value;
        }

        public Integer getValue() {
            return value;
        }
    }
    public enum DataStatus {
        Normal("正常", 1),
        Delete("删除", 0);
        String name;
        Integer value;

        DataStatus(String name, Integer value) {
            this.name = name;
            this.value = value;
        }

        public Integer getValue() {
            return value;
        }
    }
    public enum OrderStatus {
        NoPay("未付款", 0),
        Pay("已付款", 1),
        Comment("已评价", 2);
        String name;
        Integer value;

        OrderStatus(String name, Integer value) {
            this.name = name;
            this.value = value;
        }

        public Integer getValue() {
            return value;
        }
    }
    public enum CashBackStatus {
        Audit("待审核", 0),
        Can("可发放", 1),
        Back("已返现", 2);
        String name;
        Integer value;

        CashBackStatus(String name, Integer value) {
            this.name = name;
            this.value = value;
        }

        public Integer getValue() {
            return value;
        }
    }
}
